babl: cache state between babl runs
authorØyvind Kolås <pippin@gimp.org>
Sun, 13 Nov 2016 23:45:15 +0000 (00:45 +0100)
committerØyvind Kolås <pippin@gimp.org>
Mon, 14 Nov 2016 01:07:04 +0000 (02:07 +0100)
commit9e1f58146508dfc462ca68246582d1136ee8191d
tree6851de4348107154d88e8ffc99cf8f76bf14e73f
parentac4b451796566fdce3ca98b867d6807b782a246a
babl: cache state between babl runs

Store the contents of discovered babl_paths between runs, for now in
/tmp/babl.db , should move to a per-user dir to make it survive reboots.

The code should also check a versioning string at the start and bail if there
is any mismatch... since the data should be reconstructable; and more reliable
when reconstructed than a possibly old version.
babl/babl-fish-path.c
babl/babl.c